/* 发送Http请求 */
import { getCartHttp } from "../request/API";
import { ref, onMounted } from 'vue'
console.log(11111);
const useHttpHook = () => {
    console.log(22222);
    let lists = ref([]);
    onMounted(() => {
        getCartHttp().then(data => {
            lists.value = data;
        })
    })
    return {
        lists
    }
}
export { useHttpHook };